<%@page contentType="text/html" pageEncoding="UTF-8" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <link rel="stylesheet" href="/content/style.css" type="text/css" />
    <title>Environment and system properties</title>
</head>
<body style="text-align: center;">
    <div style="height: 1em;"></div>
    <table class="layout">
        <col width="25%" /> <col width="75%" />
        <thead>
        <tr>
            <td colspan="2">
                <h1>Environment and system properties</h1>
            </td>
        </tr>
        </thead>
        <tfoot>
        <tr>
            <td colspan="2">
                <jsp:include page="/WEB-INF/content/footer.jsp"></jsp:include>
            </td>
        </tr>
        </tfoot>
        <tbody>
        <tr>
            <td>
                <jsp:include page="/WEB-INF/content/menu.jsp"></jsp:include>
            </td>
            <td>
                <h2>Environment variables</h2>
                <table border="1px" class="fixed">
                    <tr><th>Key</th><th>Value</th></tr>
<%
    for(String key:System.getenv().keySet())
    out.println("<tr><td title='" + key + "'>"+key+"</td><td title='" + System.getenv(key) + "'>"+System.getenv(key)+"</td></tr>");
%>
                </table>
                <h2>System properties</h2>
                <table border="1px" class="fixed">
                    <tr><th>Key</th><th>Value</th></tr>
<%
    for(String key:System.getProperties().stringPropertyNames())
        out.println("<tr><td title='" + key + "'>"+key+"</td><td title='" + System.getProperty(key) + "'>"+System.getProperty(key)+"</td></tr>");
%>
                </table>
            </td>
        </tr>
        </tbody>
    </table>
    <div style="height: 1em;">&nbsp;</div>
</body>
</html>

